Teacher Version

Hero Image
Hero Image

Forward to Stop Line

Program your robot to pay attention to pavement markings

In addition to signs and lights, self-driving cars also need to obey pavement markings, like this stop line. Modify your Color Sensor attachment so that it faces downward, and program your robot to drive forward until it reaches the line.

Virtual Robot: ForwardUntilStopLineVR.rbg

Physical Robot: ForwardUntilStopLine.rbg

Modify your Color Sensor attachment so that it faces downward, and program your robot to drive forward until it reaches the line.

Quick Tips

Hints

  • The program is very similar to the ForwardRed program.
  • Program the robot to move forward until it sees the line color.

© 2016 Robomatter, Inc.

Portions of this product are manufactured under license from Carnegie Mellon University.